﻿#include "MainTreeWidget.h"
#include "MainWindow.h"
#include "GUIWidget/TreeWidget.h"

#include <QVBoxLayout>

namespace GUI
{
    MainTreeWidget::MainTreeWidget(QWidget * parent) :
        Core::FITKWidget(parent)
    {
        QVBoxLayout* layout = new QVBoxLayout(this);
        _treeWidget = new TreeWidget(this);
        layout->setContentsMargins(0, 0, 0, 0);
        layout->addWidget(_treeWidget);
    }

    MainTreeWidget::~MainTreeWidget()
    {

    }

    TreeWidget * MainTreeWidget::getTreeWidget()
    {
        return _treeWidget;
    }
}

